package ysm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import ysm.entity.Tripartite;

@Component
@Mapper
public interface TripartiteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tripartite record);

    int insertSelective(Tripartite record);

    Tripartite selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tripartite record);

    int updateByPrimaryKey(Tripartite record);
    
    Tripartite selectByUid(Integer uid);
    
    List loadAllTripartite();
}